<!DOCTYPE html>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/page/core/common/commonvariable.jsp"%>
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="<%=commonLib%>" />
<title>操作日志</title>
</head>
<body ng-app="sysBusLogModule" ng-controller="sysBusLogController">	
<jsp:include page="<%=widgetHeader%>"/>

<div class="lay-wrap">
	<div class="lay-left col-xs-1">
			<jsp:include page="<%=widgetLeftBar%>"/>
	</div>
	<div>

</div>

<%-- <jsp:include page="<%=widgetAnRightBar%>">
	 <jsp:param name="module1" value="/WEB-INF/views/sys/sequence/sys_sequence_edit.jsp"/>
</jsp:include> --%>

<div class="lay-main col-xs-11" >
<div class="panel panel-default">
	<div class="panel-heading">
		<div class="row">
       		<div class="col-xs-10">
       		    <div class="form-group com-title" ></div>
       		</div>
       	</div>
     </div>
     <div class="panel-body">
			<div class="row">		
				<div class="col-sm-12">
					<div class="tabbable">
						<ul class="nav nav-tabs" id="myTab" style="margin-bottom: 0px;">
							<li ><a href="<%=actionPath%>/sso/Log/list"><i class="green ace-icon fa fa-home bigger-120"></i>
									LoginLog
							</a></li>
		
							<li class=""><a href="">BusLog </a></li>
						</ul>
					</div>
				</div>
			</div>
		</div>
	<div class="panel-heading">
		<div class="row">
				<div class="col-xs-12">
					<form class="form-inline" role="form"   method="post" >
						<div class="form-group">
							<input type="text" class="form-control" ng-model="queryForm.companyCode"  placeholder="登陆公司"  />
						</div>
						<div class="form-group">
							<input type="text" class="form-control" id="startTime" ng-model="queryForm.startTime"  placeholder="开始时间"  />
						</div>
						<div class="form-group">
							<input type="text" class="form-control" id="endTime" ng-model="queryForm.endTime"  placeholder="结束时间"  />
						</div>
						
						<a href="javascript:void(0);" ng-click="doquery();" class="btn btn-default com-margin-left30">查询</a>
					</form>
				</div>
		</div>
	</div>
	<div class="panel-body">
		<div class="row">
			<div class="col-md-12">
				<table class="table">
					<thead>
						<tr>
							<th style="width: 4%">序号</th>
							<th style="width: 12%">登陆用户</th>
							<th style="width: 12%">企业编号</th>
							<th style="width: 12%">登陆时间</th>
							<th style="width: 12%">登陆ip</th>
							<th style="width: 12%">类名</th>
							<th style="width: 12%">方法名</th>
							<th style="width: 12%">日志等级</th>
							<th style="width: 12%">提示信息</th>
						</tr>
					</thead>
					<tbody>
						<tr ng-repeat="busLog in resultList">
							<td ng-bind="$index + 1"></td>
							<td ng-bind="busLog.username"></td>
							<td ng-bind="busLog.companyCode"></td>
							<td ng-bind="busLog.createTime"></td>
							<td ng-bind="busLog.clientIp"></td>
							<td ng-bind="busLog.className"></td>
							<td ng-bind="busLog.methodName"></td>
							<td ng-bind="busLog.logLevel"></td>
							<td ng-bind="busLog.msg"></td>
						</tr>
					</tbody>
				</table>
				<form role="form" id="sysLoginLogQueryForm" method="post" action="<%=actionPath%>/sys/BusLog/list_json">
				<jsp:include page="<%=widgetAnPagition%>"></jsp:include>
				</form>
			</div>
		</div>
	</div>
	</div>
</div>
<jsp:include page="<%=widgetFooter%>"/>
<!-- content end -->
</div>



<script type="text/javascript" src="<%=request.getContextPath()%>/assets/js/date-time/bootstrap-datepicker.min.js"></script>
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/assets/css/bootstrap-timepicker.css" />

<script type="text/javascript" src="<%=pagePath%>/js/moudles/sys/buslog/sys_buslog.js"></script>
<script type="text/javascript" src="<%=pagePath%>/js/common/aninnerpagination.js"></script>
</body>
</html>

